import config from '@/utils/config'
import { generateRequest } from '@/utils/request'
const { apiUrlPrefix } = config

/** 手工建账 */
export const createBillApi = generateRequest(`${apiUrlPrefix}/pcs/billManage/createBill`)

/** 可手工建账的护工订单列表 */
export const needMakeBillOrderListApi = generateRequest(`${apiUrlPrefix}/pcs/billManage/getNeedMakeBillOrderList`)

/** 账单列表 */
export const billListApi = generateRequest(`${apiUrlPrefix}/pcs/billManage/list`)

/** 账单列表 已确认 */
export const confirmedBillListApi = generateRequest(`${apiUrlPrefix}/pcs/billManage/getConfirmPageList`)

/** 账单确认 */
export const confirmBillApi = generateRequest(`${apiUrlPrefix}/pcs/billManage/confirm`)
